﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 操作按钮表
    /// </summary>
    [Table("T_Action")]
    public class Action:BaseEntity
    {
        /// <summary>
        /// 操作编码
        /// </summary>
        [MaxLength(50)]
        public string ActionCode { get; set; }
        /// <summary>
        /// 操作名称
        /// </summary>
        [MaxLength(20)]
        public string ActionName { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        [MaxLength(100)]
        public string Icon { get; set; }
        /// <summary>
        /// 方法名称
        /// </summary>
        [MaxLength(20)]
        public string Method { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-启用
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 样式名称
        /// </summary>
        [MaxLength(20)]
        public string CssClassName { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int DisplayOrder { get; set; }
    }
}
